<form id="ajaxForm" action="<{:U('Mentors/sendmsg')}>" method="post" class="form-validata">
	<div class="form-group">
		<label for="title"><{:L('_title')}></label>
		<input name="title" type="text" class="form-control" id="title" required placeholder="Subject">
	</div>
	<div class="form-group">
		<label for="content"><{:L('_content')}></label>
		<textarea id="content" name="content" class="form-control" rows="5" required maxlength=500  placeholder="Please enter the content"></textarea>
	</div>
	<input name="toID" type="hidden" value="<{$list.userid}>"/>
	<input name="toName" type="hidden" value="<{$list.nickname}>"/>
	<input name="toFace" type="hidden" value="<{$list.face}>"/>
	<div class="form-group" style="text-align: right;"><button id="myBtn" type="submit" class="btn btn-primary"><{:L('_submit')}></button></div>
</form>